using System;
using System.Collections.Generic;
using System.Text;

namespace Athena.Core
{
    [Serializable()]
    public class Gene : Part
    {
        public override void GenerateDrawable(System.Drawing.PointF point)
        {
            Drawable = new Objects.GeneGlyph(point);
            ((Objects.PartGlyph)_Drawable).GenerateModifiers();
        }

        public Gene(string id, string sequence)
            : base("gene", id, sequence)
        {
            //InputConnectionsAllowed = false;
            //OutputConnectionsAllowed = true;

        }
        public Gene()
            : base("gene", "Gene" + Part.COUNT, "ATGAGTGCGATCAGTTTAAGTGCGATCAGTGAGTGCGATCAGTGCGATCGATCGATTAGATCGATTACGATCGAGTGCGATCAGTGAGTGCGATCAGTGCGATCGATCGATTAGATCGATTACGATCGAGTGCGATCAGTGAGTGCGATCAGTGCGATCGATCGATTAGATCGATTACGATCGAAGTGCGATCAGTGAGTGCGATCAGTGCGATCGATCGATTAGATCGATTACGATCGATCGATTAGATCGATTATCGATTAGATCGATTAATCGATTAGATCGATTAATCGATTAGATCGATTA")
        {
            //InputConnectionsAllowed = false;
            //OutputConnectionsAllowed = true;
        }
        public override object Clone()
        {
            return new Gene(this);
        }

        public Gene(Gene copy)
            : base(copy)
        {
            //InputConnectionsAllowed = false;
            //OutputConnectionsAllowed = true;
        }
    }
}
